export default {
    url: "/bpm/workflow/nextApprover",
    method: "GET",
    name:"任务提交",
    req:[
        {
            en: "id",
            cn: "流程ID",
            type:"string"
        },
        {
            en: "nextStepNotice",
            cn: "给下一步骤发送站内信，始终发送",
            type:"boolean"
        },
        {
            en: "nextStepShort",
            cn: "给下一步骤发送短信",
            type:"boolean"
        },
        {
            en: "startNotice",
            cn: "给发起人发送站内信",
            type:"boolean"
        },
        {
            en: "startShort",
            cn: "给发起人发送短信",
            type:"boolean"
        },
        {
            en: "allNotice",
            cn: "给全部经办人发送站内信",
            type:"boolean"
        },
        {
            en: "allShort",
            cn: "给全部经办人发送短信",
            type:"boolean"
        },
        {
            en: "message",
            cn: "提醒内容",
            type:"string"
        },
        {
            en: "bpmId",
            cn: "页面展示任务ID",
            type:"string"
        },
        {
            en: "bpmName",
            cn: "任务名",
            type:"string"
        },
        {
            en: "data",
            cn: "保存的字段",
            type:"object"
        },
        {
            en: "files",
            cn: "保存的附件",
            type:"object",
            children:[
                {
                    en: "name",
                    cn: "文件名",
                    type:"string"
                },
                {
                    en: "type",
                    cn: "文件类型",
                    type:"string"
                },
                {
                    en: "id",
                    cn: "文件ID",
                    type:"string"
                },
                {
                    en: "creator",
                    cn: "上传的用户",
                    type:"string"
                }
            ]
        },
        {
            en:"agent",
            cn:"下一步骤经办人",
            type:"object"
        },
        {
            en:"reUser",
            cn:"提醒指定步骤经办人",
            type:"object"
        },
        {
            en:"reUser",
            cn:"提醒指定步骤经办人",
            type:"object"
        },
        {
            en:"nextNodes",
            cn:"流程流向节点，是一个map，key是流程节点ID，value如下：",
            type:"object",
            children:[
                {
                    en:"mainUsers",
                    cn:"主办人用户ID",
                    type:"object"
                },
                {
                    en:"supportUsers",
                    cn:"经办人用户ID",
                    type:"object"
                }
            ]
        },
        {
            en:"logId",
            cn:"当前节点logID",
            type:"string"
        }
    ],
    reqEg:[{"id":"5e0407235b8e1841ccba013b","nodeIds":["Task_12upzpn"],"uids":"","nextStepNotice":true,"nextStepShort":false,"startNotice":false,"startShort":false,"allNotice":false,"allShort":false,"message":"您有新的工作需要办理，流程id：3534，流程：测阿萨为","bpmId":"3534","bpmName":"测阿萨为","data":{"流程发起人":"黄*雯"},"files":[{"id":"/2019-12-26/aab12bd26f5b417299a3f5615234a0f1.jpg","name":"6152238.jpg","creator":"412","action":"upload"}],"sign":{"idea":"同意","info":"","files":[]},"mainList":{},"agentList":{},"concurrent":false,"agent":[],"reUser":[],"nextNodes":{"Task_12upzpn":{"mainUsers":["401"],"supportUsers":[]}},"logId":"5e0407235f5cf782fb1a1414"}],
    resp:[
        {
            en:"data",
            cn:"返回的数据",
            type:"object",
            children:[
                {
                    en:"end",
                    cn:"流程是否已办结",
                    type:"boolean"
                }
            ]
        }
    ],
    respEg: {"success":true,"errMessage":"","data":{"ok":true,"end":false}}
}